This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
My current solution is using LenB, though I'm not clear about whether it's better to use LenB or LenBP.
I'm counting bytes of my string data using LenB, then adding some overhead I've observed from testing:
- switching from single-value to multi-value text field incurs a 6-byte overhead
- each additional value in a multi-value field incurs a 2-byte overhead
It seems to be working, thought I haven't tested it thoroughly enough to ensure that I am actually squeezing in as many bytes as possible. I am at least not getting errors.
One side discovery has been that NotesItem.Values is atrociously slow for iteration if you have a large number of values. For a little over 900 values, iterating over NotesItem.Values is taking about 10 seconds. If I instead copy them all in one go to a variant (someVariant=item.Values), then it takes less than a tenth of a second to iterate over the values in the variant.
Feedback response number WEBB82SAU5 created by ~Dean Dwoboosiplopjip on 02/18/2010